/**
 * Copyright (c) Enalean, 2016. All Rights Reserved.
 *
 * This file is a part of Tuleap.
 *
 * Tuleap is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Tuleap is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Tuleap. If not, see <http://www.gnu.org/licenses/>.
 */

.user-change-password-modal-body {
    display: flex;
    flex-wrap: wrap;
}

.user-change-password-modal-body-additional-messages {
    width: 100%;
    margin: 0 0 $tlp-spacing * 2;
}

.user-change-password-modal-body-fields {
    width: calc(50% - #{$tlp-spacing});
    margin: 0 $tlp-spacing 0 0;
}

.user-change-password-modal-body-robustness {
    width: calc(50% - #{$tlp-spacing});
    margin: 0 0 0 $tlp-spacing;

    // scss-lint:disable SelectorFormat
    > .robustness {
        margin: $tlp-spacing 0;
        font-size: 30px;
        font-weight: 600;
        text-align: center;

        > .password_strategy_good {
            color: $tlp-ui-success;
        }

        > .password_strategy_bad {
            color: $tlp-ui-danger;
        }
    }
}

.user-change-password-modal-passwords-validator {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 20px;

    > .icon-remove::before {
        margin: 0 3px 0 0;
        color: $tlp-ui-danger;
        font-family: 'FontAwesome';
        font-style: normal;
        content: '\f00d';
    }

    > .icon-ok::before {
        margin: 0 3px 0 0;
        color: $tlp-ui-success;
        font-family: 'FontAwesome';
        font-style: normal;
        content: '\f00c';
    }
}
